<template>
  <div id="app">
     <nav class="nav">{{this.$store.state.HeaderTitle}}</nav>
  <router-view class="Router" ></router-view>
 <Menu class="Menu"></Menu>
  </div>
</template>
<script>
import Menu from './components/Menu'
export default {
 data() {
    return {
    };
  },
  components:{
     Menu
  }
}
</script>
<style lang="scss">
*{
   margin: 0;
  padding: 0;
}
html,body{
 width: 100%;
 height: 100%;
}
#app {
  height: 100%;
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  display: flex;
  flex-direction: column;//flex-direction属性决定主轴的方向（即项目的排列方向） row竖轴从下向上排列 | row-reverse竖轴从上向下排列  | column让横轴从左向右排列 | column-reverse让横轴从右向左排列;
  justify-content: center;


}
  .nav {
    display: flex;
 justify-content: center;
    height: 50px;
    line-height: 50px;
    background-color: black;
    color:white;

  }
  .Router {
   
    flex: 1;
    overflow: hidden;
  }
  .Menu {
    width: 100%;
    height: 50px;
    background-color: #2c3e50;
  }


</style>
